const router=require('koa-router')()
const enterpriseCtrl=require('../server/controller/enterpriseController')


router.get('/api/enterprise/enterpriseBaseInfo',enterpriseCtrl.enterpriseBaseInfo)

router.get('/api/enterprise/singleEnterprise',enterpriseCtrl.singleEnterprise)

router.get('/api/enterprise/singleEnterpriseByID',enterpriseCtrl.singleEnterpriseByID)

router.get('/api/enterprise/statistical',enterpriseCtrl.statistical)

router.get('/api/enterprise/queryByTag',enterpriseCtrl.queryByTag)

router.get('/api/enterprise/queryByBusiness',enterpriseCtrl.queryByBusiness)

router.get('/api/enterprise/heatmapInfo',enterpriseCtrl.heatmapInfo)

router.get('/api/enterprise/queryIDByBusiness',enterpriseCtrl.queryIDByBusiness)

router.get('/api/enterprise/queryIDByEnterpriseTag',enterpriseCtrl.queryIDByEnterpriseTag)

router.post('/api/enterprise/queryByRegional',enterpriseCtrl.queryByRegional)

router.post('/api/enterprise/queryByMultiple',enterpriseCtrl.queryByMultiple)

//非正式接口
router.post('/api/enterprise/uploadGov',enterpriseCtrl.uploadGov)



module.exports=router